// 引入封装好的axios方法
import { get, post } from '@/utils/axios'

// 获取banner
export let bannerList = () => get( '/banner/list' );
// 获取列表
export let goodsList = () => get( '/shop/goods/list' );
// 获取详细信息
export let detail = ( id ) => get( '/shop/goods/detail', { id } );